package com.atguigu.yygh.user.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @description:生成微信二维码
 * @author :又菜又爱玩的→速趴塞亚锦←
 * @create :2023/5/19
 * @param  :1.8
 */
@ConfigurationProperties(prefix = "weixin")
@Data
//第一种方式·@Component+@Value
//第二种方式.@Component+@ConfigurationProperties(prefix = "weixin")
//第三种方式.@ConfigurationProperties(prefix = "weixin") + @EnableConfigurationProperties(value = WeixinProperties.class)
public class WeixinProperties {


    private String appid;
    private String appsecret;
    private String redirecturl;


}
